added a redirect to insert page