Added logic for getting case details from server