removes globals and adds ubuntu user