fixed client side code to receive the list of saved slides