added api Basic Auth