Changed the security on api access