Added socket.io and added a users admin page plus some other general clean up stuff