added client error page, inserted calls in appropriate places.