changed to single page app