Moved route to the correct part of the init file