implemented My Purchase Controller