Adding RegisterTemplateFunction so template functions can be added from any package. Moving isAuthenticated to an init in the auth package and markDowner to a new package called markdown. Markdown will need to be initialized in your own project.