wire up authentication to database calls
ensure analytics api calls are authenticated like the user for the moment