Removed list users API call as it has no real use for the end user.
Fixed logic for getUser API call and improved test coverage.
Removed redundant API call and added an extra test for user API.