Register.java email and password check