Backend for trips