retrieves decks from database. Troy and Hoang