created user and pin associations