Load pin on page loading