Added authorization support (no special error handeling)
handled unauthorize errors