Fixed auth and lookup.
Added lookup.