main page UI finished