enable edit right after ajax login