Ajax for both interfaces done