fixed not logged in