added UI for main view