updated the code in setting view model to properly store/get the credentials from the Windows vault
moved the HandleResponse inside a catch block and moved the OnSuccess and HandleError class in the corresponding finally block