add basic docstrings on auth fns