corrected the return format for users api