updated query to include user and pw for saving drawing