Added route to manage posts by id.