registration and pass reset