changed to one page application