added a saveAssertion method that is callable from both request-response methods and from straight code methods to populate the database