Update db.cpp
Merge pull request #17 from sniperal44/master

adding initialization login - credit Adwelean - db.cpp