create a fake upload_avatar route, for test purpose