fix condition to run as demo user