redirect to resource after creating a new key