Modified the login screen to not navigate when not authenticated.