add init to all routes