using api for manager system