added else if condition for if username is right and password is wrong.