adding layout to the homepage