User login, fixes #10