implement user login and order the ticket