setting up parsley validation