added Authorize

added authorize to classes