adding mongoose validator