add ajax login controller