2) Fixed issue where the same user is showing in SQL query. 3) Added SQL tab in the dialog. refs #3893