Constructor for LoginController implemented