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