code for the support ticket system