Use http.StatusInternalServerError instead of 500