implemented password validation for projects