added auth and fixes