fix account login bug