Updated code of reservation server and dao layer.