fix ajax login page