Refresh now does not show login form if the session token is still valid
refresh remains on the same screen
fixed #410, and general console cleanup