Login and registration now work properly! Wooo!!

Socket.io now needs to be implemented to handle mutiple sessions as
well as the chat and game functions later.

Epic.

Time for beer friday