Adds debug mode for development; emits to the current socket a list of users when connecting for the first time so that the user can see who is already logged in.
Fixes an issue where duplicate user divs would be added after a socket registered.