added associations to users and pins