add findPigByEmail and remove pigname