getting case and discoverability for each user_id