Bug fix to user construction