Added user to pins database and associated permissions