~user is now a variable rather than hard-coded