To fetch perticular user data

Respected Faculty Members,

I am stuck on fetching perticular user data on html form.

Example…I user book ride , then must be able to see his previous booking