Code for moving the servlet to ums-client project