finish layout and routes(chpt5)