Renamed encode -> urlencode
Added avatar uploading code to MyAuth