Added functionality to roomdates.html page