Simple function to sign requests