finished the main process of book ticket