Added password validation using bcrypt