adding validation on trip create function