Added pin verification