Implemented room:join and room:leave events