Register.java working!