removing unused routes, moving the flash notice to the application layout