added associations between Pins and Users, authentication stuff