changed html and fixed session issue