changes to login controller and page