added some form validations and turned post forms into partials