Improve the roomId generation

- rommId generation is now made on server side rather than client side