Interacted with database to set up user/pin associations