added api integration to staging server
authentication implemented