added error pages and browser check to bootstrap