finish layout of the app with routing