repaired login page invalid input and existing user and add validator to
repository