Added pins/users association and security