AddGMIP converted to QueryDatabase
fixed query release order and converted LoginIP to QueryDatabase
CheckStatus using QueryDatabase