update templates and pass user to app view