added create and join room handlers