Changed password validation method, email validation