some auth stuff

improved auth touching and working on a more controlled delivery method.
also templating !!