add the functionality for the clerk to process the return (write into
the database). Please check and see if there is any bugs.