added create post and updated schema, matching form data.
rework post code.