password with memory storage