Fix issues with semicolons and variable declaration

Also remove duplicate of method 'joinRoom' from MainMenuRoom, as well as unused methods 'updateCurrentUser' and 'buttonOnClick' from UserList.