added date to post schema and model