Added missing flash 'userName' parameter.