redirect to /posts/ after adding or editing