Edit and delete post. Render post at main page