reordered functions for room listing on server side
added distance to the room list