updated web module for spring based rest call