new routing structure and updated security