Use of xhr.post to validate a username and password. In this case, a valid password is the reverse of the username.