ticket:5 - add login/logout