Updated the verify signatures class to add info to database. Lots of error handling.