Changes in DBConnesctor class.

Added
Example comment and functions
Function Changes
Minor security fixes in SaveLog function