prepare for password checking.