Added functions to create authenticated requests