Added authentication and average time to API