Listener: added main page template