Added email validation on register