started implementing securing the trip api