Added basic events to manage header views when user is authenticated
shorten template file extension