added single page and changing of routes