added auth to work