updated auth bundle, added templating
finished adding auth bundle