initializing avatar upload for users