Add id to response with created post

Response should contain id of the post in order to navigate to it after it has been created.