schedule registration ajax is working