Added ticketArray to keep track of newly added tickets, added a function to check for active tickets given username