fix no signed in user in homepage(notification and message count problem)