Ajax submission of user creds and domain