refactor retrieveRequestParams into its own function
refactor retrieveRequestParams to retrieveRequestAssertion
readability refactors