finish layout add routes