add username auth with jquery