Major changes

Login function
Extended client - server communication