Added possible fix for supplying seperate errors pages for the admin and application sections of the app.