fixed weird issue with isLoggedIn not really being a boolean.... kinda...? Again!?...? Now with console messages!