add login and chat view
introduce sockets
first implementation of socketSync (not working yet…)