Improved interface of main.html