public function postLogin() { $credentials = Input::all(); if (Authenticator::login($credentials, $this)) { return $this->successResponse(); } else { return $this->failResponse(); } }