added rooms controller with index method