fixes isAdmin when not loggedin