Updated packet handler

Added handling for JoinRoom and LeaveRoom