added back-end logic for published deck grabbing