add index and layout pages