added create tour and end tour functionalities