Fixed multiple user login

See issue #8