fixed incorrect password login bug