modified client main.html