small fix for not logged in