first draft of searching for passwords