use defn-
fix auth test
add config-vars
remove the number 20 from docstrings, count is customizable
make docstrings consistent