/**
  * @Get("/users")
  * @Middleware("admin")
  *
  * Returns list of users with their ordered foods for the specified week
  * 
  */
 public function getUserOrders()
 {
     $week = \Input::get('week');
     $users = [];
     User::all()->each(function ($user) use($week, &$users) {
         $arrayUser = $user->toArray();
         $arrayUser['menu_foods'] = User::find($user->id)->eatenFoodForWeek($week);
         $users[] = $arrayUser;
     });
     return $users;
 }
 /**
  * @Get("/")
  */
 public function getIndex()
 {
     $users = User::all();
     $roles = Role::all();
     return view('super-admin.users.index', compact('users', 'roles'));
 }