Add the pins and user relationship in Db