/**
  * Store a newly created resource in storage.
  *
  * @return String Response
  */
 public function store()
 {
     $input = \Input::all();
     if (\Validator::make($input, User::$validate)) {
         $input['PassHash'] = \Hash::make($input['password']);
         $input['password'] = null;
         $input['password_confirm'] = null;
         $model = User::create($input);
         return $model->toJson();
     }
     return 'Error';
 }