MDL-25069, chat, check if user loggedin