added nameValidator middleware
added nameValidator middleware
test regex worked