add ajax to manager page