move base templates
add login/out buttons