implement new user method isLoggedIn that should be used instead of is_online
lock chat for guests