Updated unlockPin in DBStore to unlock the pin