small fix if not logged in