implemented password verification. Password persistence not yet implemented