Added login and logout LI element template
Header & footer generalization.