Created admin controller and adjusted the login controller.