Refactored Socket.IO methods on the main_hall.