Removed isMethodSecure out of APIController