made login from admin panel, by creating login.php and rendering it, changed a line in LoginController.php