added avatar loading to profiles