public function logout() { Auth::logout(); // Prepare the flash message. $status = __d('system', 'You have successfully logged out.'); return Redirect::to('login')->withStatus($status); }