code: public function store(UserRequest $request)
      {
          $user = new User;
          $request['password'] = bcrypt($request->get('password'));
          $user = $user->create($request->only($user->getFillable()));
          $user->roles()->sync(collect($request->get('role'))->all());
  
          return redirect()->route('user.manager.index');
      }
docs: Store a newly created resource in storage.
  
  @param  UserRequest  $request
  @return Response