Added storing of encrypted user credentials.