added check for group_id in chooseRooms ajax action