Adding in database connector and hmac functionality to validate requests