add avatar size validation