test draft
added redirect feature for territory model