Small update.
ProcessPassword method changedto function and refactored.