converting the form helper to use AWS Signature version 4