fixed bug related to defining variables for user in the background -- temporary bandaid awaiting more permanent solution