Add internal server error to controllers