Validation of password added