added *.db to .gitignore and fixed 'security database issues'