Continue work on login
Add support for logging in and sending messages