Security updates: added encryption support database and local storage
