Add sign servlet.
Add sign function.