useing post to validate