Add view orders functionality