refactored the join leave and close functionality:
refactored the join leave close function into a single function
modified app js
remove merging
consoles removed