updated some of the templates to display correct content when logged in or out