Simplified user login/logout

Fixes #92