Add some auth (not finished yet) and docs