Added UI elements to the main page