Add ability to save credentials to config file