updated userSetup to send variables . commented out global