Created configuration handling prompt and loading, added methods to call stash and a check for the credential validity