Setup of the login controller