Logged out template
More templates and fix permissions/datetime javascripts