Override security routes and reorder imports