Combine ui with sql in sql_login_ui.c