wrote isValidLoginTest JUnit