updated controller with index and all decks