updated code for the Pet Portal Link