redo routes/post and routes/posts
minor edits