Added pins/users association and authentication