added redirect error response for all other pages