update layout and add path to link
finish layout and routes