prevent duplicates in router and added bootstrap to register namespace