Save credential info in home directory