addPost function skeleton and Post model to json converting
Fix syntax error in post model