working on admin api