public function insert()
 {
     if (Session::has('id') && (Session::get('type') === 'Admin' || Session::get('type') === 'SuperAdmin')) {
         $sub = Subject_List::lists('subject_name');
         return View::make('insert')->with('sub', $sub);
     } else {
         echo 'You are not authorized';
     }
 }
 public function delete($id)
 {
     //Eloquent::unguard();
     if (Session::has('id') && Session::get('type') === 'SuperAdmin') {
         $subject = Subject_List::findOrFail($id);
         $subject->delete($subject = Request::all());
         //return redirect('super');
         return redirect('super');
     } else {
         echo 'You are not authorised';
     }
 }