SetVariable converted to QueryDatabase
GetMiniLoginAccount converted to QueryDatabase