Add some ajax apis