login and send message working

works but rough