Added trim() calls to the ticket_model's create_ticket method