update ajax login form