import HTTPSession to LoginController.