use httmultiparty to handle avatar upload