added some generic error pages
added in history.pushState, need to test and make more DRY