add the login controller