pass two tests

named: TestLogOn and TestRegister for UserService