Added 500 response code