redirect to view posts after adding a post