using where to display homepage. Also added scope