I have some ideas but they are slowly developing.
For instance, I have created a function called "findMostRecent" which finds the most recent ticket associated with the client and *should use that ticket number as the original login ticket number after going through a simple password check. Currently, I am trying to figure out how to automatically change the most_recent value in the database and have that operate as the ticketID and the ticket_id.
Thanks