introduced a rest call for application user against mongo db