add chunk and login UI