moved renderhomeView