implemented login and sending messages