Execute SQL command after Authentication