Added an auth to the mangalAPI function