Add ability to easily define a template to add additional actions to the loggedin dropdown
Create template helper for toggling the drop down. Can be used by templates defined in the host application without having to duplicate toggleDropdown.