Not accepting invalid inputs in RegistrationFrame.java