changed auth template | added auth test