adding ticket creating functionality working