Use js to check username and verify password.
correct_username is replaced.