Retrieves previously made decks from the database