First try at communicating with server

Now emits an event when the user submits his name.