rewrite getUserData, checkPass, etc