fixed broadcast functions and leaving rooms

also cleaned up styling of chatbox partial
Wrote beginning of register function
Added fix to collapse navbar and cleaned up index.html

Used this to fix issue https://github.com/twbs/bootstrap/issues/9013
Make sure email is unique when registering
changed partial for testing