Added a common layout to pages