adding api-auth as dependency