add avatar size validation
add avatar size validation