fix in ajax login