public function logout() { RestrictAccess::_for(RestrictAccess::GUESTS, '/'); if ($this->userRepository->logout()) { Redirect::guests('/'); } }