add admin manager and user avatar function