separate out home screen and common ui