public void Create(string user, string password)
{
if (Credentials.Any(c => c.User == user))
{
throw new InvalidOperationException("The given user already exists.");
}
var passwordHash = PasswordHash.CreateHash(password);
m_Credentials.Add(new Credential()
{
Password = passwordHash,
User = user
});
SaveCredentials();
}