Laying out structure to authorize API requests