renamed loginController.js to authController.js