Added http error handlers