fix login with jquery mobile