error in password and username checking