introducing error page and GlobalSettings