updates to allow for the login button to be show after login and refresh