send message to server and display incoming new messages. Code is a little bit shitty but it will be improved in future commits