finished new ticket module and edit tickets