created account class and modified api_request to accept requests with authorization token