add ajax register