ticket:5 add login template
ticket:5 populate login and logout actions