Function add avatar for user