Added settings page for API to allow enable/disable API function