fix rooms controller and add messages controller