fix no login user bugs