making city history taking another parameter: tripId to avoid recommending user's own city plan