register users and login/logout
Merge branch 'brian/users'