added login controller and placed the login button in the top right corner