adding initialization login - credit Adwelean - db.cpp

Credit Adwelean
https://github.com/Adwelean/Adwelean-Server/commit/04057e26bbe3472036b4627a9bfd9a483c684f57