Looking for away to book user using custom form

I have done my coding and now i in my last step of my project i cannt find a solution on how to book a user to a specific session useing a serviceId and some user details from some inputs. any one can assist ?