Added dynamic url changing for trips