added constraints for add user and password confirmation check