added pins/users associations and authentication