Added more comments
Fixed up the Authenticate function
Added room class and functions
Added authentication checks to login and register
Added links to footer