added login for user on chats massage