added user associations to pins and edited necessary authorizations for functions