rest: added api for fetching all users