Update application/controllers/LoginController.php