get deck by name api
get deck by name if local state is lost