improve trip query speed by attaching its user and photo