add general layout of the page