public function login(LoginRequest $request): JsonResource 	{ 		$user = User::includes()->where('email', $request->email)->loginLogic($request)->first();  		if (!$user || !Hash::check($request->password, $user->password)) { 			abort(401); 		}  		$user->fireLoginEvent('api');  		return $user->getModelResource(); 	}