added api
api works with authorization