added a route and action to get a deck
refactored GetConfiguration
to automatically clear the secret