Add ajax based check of userName and password.