Added saving login details to config file