Added post validations and error styling