sign is done through ajax