Created a login mechanism

Also renamed listen.js to chat.js
require valid login before being able to chat
Send and handle newUser event