store hash even if profile not found (avatar may still exist), check if profile not found, added try/catch block