check if password is equal to confirm password or pharse is equal to confirm phrase
static bool isPhraseEqual(String phase1, String phase2) { return phase1 == phase2; }