can now login. Fixes #5