fix for no user logged