validations, render post form with error if wrong input