added auth and docs