ticket:5 add login/register template/view
ticket:5 add login/logout logic/view
ticket:5 correct log out action
ticket:5 add tests for login and register actions
Merge branch 'ticket5'